package com.ruoyi.scheduling.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 调度执行对象 a_dispatch_executions
 *
 * @author ruoyi
 * @date 2025-04-02
 */
public class ADispatchExecutions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 调度执行ID */
    private Long id;

    /** 调度请求ID */
    @Excel(name = "调度请求ID")
    private String dispatchRequestsId;

    /** 调用单位ID */
    @Excel(name = "调用单位ID")
    private Long callingOrganizationId;

    /** 调用单位名称 */
    @Excel(name = "调用单位名称")
    private String callingOrganizationName;

    /** 被调用单位ID */
    @Excel(name = "被调用单位ID")
    private Long calledOrganizationId;

    /** 被调用单位名称 */
    @Excel(name = "被调用单位名称")
    private String calledOrganizationName;

    /** 实际调用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际调用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String actualCallTime;

    /** 实际结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String actualEndTime;

    /** 实际地点 */
    @Excel(name = "实际地点")
    private String actualLocation;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setDispatchRequestsId(String dispatchRequestsId)
    {
        this.dispatchRequestsId = dispatchRequestsId;
    }

    public String getDispatchRequestsId()
    {
        return dispatchRequestsId;
    }

    public void setCallingOrganizationId(Long callingOrganizationId)
    {
        this.callingOrganizationId = callingOrganizationId;
    }

    public Long getCallingOrganizationId()
    {
        return callingOrganizationId;
    }

    public void setCallingOrganizationName(String callingOrganizationName)
    {
        this.callingOrganizationName = callingOrganizationName;
    }

    public String getCallingOrganizationName()
    {
        return callingOrganizationName;
    }

    public void setCalledOrganizationId(Long calledOrganizationId)
    {
        this.calledOrganizationId = calledOrganizationId;
    }

    public Long getCalledOrganizationId()
    {
        return calledOrganizationId;
    }

    public void setCalledOrganizationName(String calledOrganizationName)
    {
        this.calledOrganizationName = calledOrganizationName;
    }

    public String getCalledOrganizationName()
    {
        return calledOrganizationName;
    }

    public void setActualCallTime(String actualCallTime)
    {
        this.actualCallTime = actualCallTime;
    }

    public String getActualCallTime()
    {
        return actualCallTime;
    }

    public void setActualEndTime(String actualEndTime)
    {
        this.actualEndTime = actualEndTime;
    }

    public String getActualEndTime()
    {
        return actualEndTime;
    }

    public void setActualLocation(String actualLocation)
    {
        this.actualLocation = actualLocation;
    }

    public String getActualLocation()
    {
        return actualLocation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dispatchRequestsId", getDispatchRequestsId())
            .append("callingOrganizationId", getCallingOrganizationId())
            .append("callingOrganizationName", getCallingOrganizationName())
            .append("calledOrganizationId", getCalledOrganizationId())
            .append("calledOrganizationName", getCalledOrganizationName())
            .append("actualCallTime", getActualCallTime())
            .append("actualEndTime", getActualEndTime())
            .append("actualLocation", getActualLocation())
            .toString();
    }
}
